package com.scy.java.object;

public class Animal {
    String name;

    @Override
    public String toString() {
        return "Animal{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    int age;
    public void eat(){
        System.out.println("饿了。。。");
    }
    public static void call(){
        System.out.println("各有各的叫法。。。");
    }
}

